Control
The Control
class represents a form control, providing access to its properties and methods for managing values, text, and metadata.
Properties
Name | Description |
---|---|
MultiLanguageText | Gets or sets the multilingual text associated with the control. |
MLValues | Gets or sets the categories associated with the control. |
ProjectDeploymentUrl | Gets the project deployment URL associated with the control. |
Rows | Gets the rows of a grid control. |
Type | Gets the type of the control. |
Value | Gets or sets the value of the control. |
Text | Gets or sets the text representation of the control's value. |
Categories | Gets or sets the categories associated with the control. |
Constructors
Name | Description |
---|---|
Control(controlObject, session, projectDeploymentUrl) | Initializes a new instance of the Control class with a specified control object, session, and project deployment URL. |
Control(controlObject, projectDeploymentUrl) | Initializes a new instance of the Control class with a specified control object and project deployment URL. |
Methods
Name | Description |
---|---|
SetMLText(value) | Sets the multilingual text for the control. |
GetMLValues() | Retrieves the multilingual values associated with the control. |
GetMLText() | Determines the control group based on its type. |
SetText(value) | Sets the text representation of the control's value. |
GetText() | Retrieves the text representation of the control's value. |
GetCategories() | Retrieves the categories associated with the control. |
GetPropertyValue<T>(propertyName) | Retrieves a property value from the control's JSON representation. |
SetCategories(value) | Sets the categories for the control. |
GetGroup() | Determines the control group based on its type. |